package com.kevin.feign.service.remote;

import java.util.Map;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.kevin.feign.service.hystric.BookServiceHystric;
import com.kevin.feign.util.ResultObject;

@FeignClient(value="tb-book",fallback =BookServiceHystric.class)
public interface IBookService {

	@RequestMapping(value="/book/list",method=RequestMethod.POST)
	ResultObject listBook(@RequestBody Map<String, Object> params);
}
